package models;

import java.util.*;
import javax.persistence.*;

import play.db.jpa.*;

@Entity
public class Request extends Model {
	@OneToOne(cascade = CascadeType.ALL)
	public User user;
	public String request;
	public String propId;

	public Request(User user, String request, String propId) {
		this.user = user;
		this.request = request;
		this.propId = propId;
		this.save();
	}
}